
public class Dog {
		private String age;
		private String name;
		String getAge(){
			return age;
		}
		String getName(){
			return name;
		}
		void setAge(String dogAge){
			age=dogAge;
		}
		void setName(String dogName){
			name=dogName;
		}
		Dog(String dogAge, String dogName){
			age=dogAge;
			name=dogName;
		}
		void printAll(){
			System.out.print("Name: ");
			System.out.println(name);
			System.out.print("Age: ");
			System.out.println(age);
		}
		void talk(){
			System.out.println("Woof Woof");
		}
}

